package com.qef.com.mmovie.api;

import io.reactivex.Flowable;
import okhttp3.ResponseBody;
import retrofit2.Call;
import retrofit2.http.GET;
import retrofit2.http.Streaming;
import retrofit2.http.Url;

/**
 * Created by feq on 2017/7/21.
 */
public interface DowLoadServer {
//    @GET
//    Call<ResponseBody> downloadFileWithDynamicUrlSync(@Url String fileUrl);
    @Streaming
    @GET
    Flowable<ResponseBody> downloadFileWithDynamicUrlSync(@Url String fileUrl);
}
